<!--小标题-->
<template>
  <li class="item">
    <div class="label fl">
      <slot name="item"></slot>
    </div>
    <div class="corner fl"></div>
    <div class="text fl">
      <slot name="info"></slot>
    </div>
  </li>
</template>

<script>
  export default{
    name: 'infoitem'
  }
</script>

<style scoped>
  .item{
    list-style: none;
    font-size: 15px;
    margin-bottom: 10px;
    overflow: hidden;
  }
  .label{
    color: #fff;
    padding: 4px 7px;
    font-weight: bold;
    border-radius: 3px 0 0 3px;
    background: indigo;
  }
  .corner{
    display: inline-block;
    width: 0 !important;
    height: 0;
    border-top: 13px solid transparent;
    border-left: 12px solid indigo;
    border-bottom: 12px solid indigo;
    border-right: 12px solid transparent;
  }
  .text{
    padding-left: 20px;
    color: #757070;
    width: 170px;
    font-size: 15px;
    font-weight: bold;
    padding-top: 4px;
  }
</style>
